﻿using BackData;
using MediatR;
using System.ComponentModel.DataAnnotations.Schema;

namespace Rabbit.API.Application.Command.Breed
{
    /// <summary>
    /// 编辑养殖信息
    /// </summary>
    public class BreedUpdateCommand:IRequest<APIResult<int>>
    {
        public long Id { get; set; }
        /// <summary>
        /// 种类
        /// </summary>
        public string Kind { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string From { get; set; }
        /// <summary>
        /// 养殖天数
        /// </summary>
        public int TakeTime { get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FoodBrand { get; set; }
        /// <summary>
        /// 饲养人
        /// </summary>
        public string BreedPeople { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime UseTime { get; set; }
        /// <summary>
        /// 接种疫苗记录
        /// </summary>
       
        public string Vaccination { get; set; }
        /// <summary>
        /// 动检证
        /// </summary>
        public string CertificateImg { get; set; }
        /// <summary>
        /// 养殖场名称/农场
        /// </summary>
        public string Farm { get; set; }
        /// <summary>
        /// 负责人/农场主
        /// </summary>
        public string Farmer { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Number { get; set; }
        /// <summary>
        /// 企业照片
        /// </summary>
        public string CompanyImg { get; set; }
    }
}
